import axios from "../../utils/axios";

// /brand/getGlobalBrandList 获取全球级品牌
export function getGlobalBrandList(query) {
    return axios({
        url: "/brand/getGlobalBrandList",
        method: "get",
        params: query
    });
}
// /brand/getGlobalBrandDetail 获取全球级品牌详情
export function getGlobalBrandDetail(query) {
    return axios({
        url: "/brand/getGlobalBrandDetail",
        method: "post",
        params: query
    });
}
// /brand/addOrUpdateGlobalBrand 新增修改全球品牌
export function addOrUpdateGlobalBrand(query) {
    return axios({
        url: "/brand/addOrUpdateGlobalBrand",
        method: "post",
        data: query
    });
}
// /brand/deleteGlobalBrand   删除全球级品牌
export function deleteGlobalBrand(query) {
    return axios({
        url: "/brand/deleteGlobalBrand",
        method: "get",
        params: query
    });
}
